@@ 41-48 (lines=8) @@ | ||
38 | */ |
|
39 | protected $money; |
|
40 | ||
41 | protected function setUp() |
|
42 | { |
|
43 | $this->type = new Type('server_traf'); |
|
44 | $this->target = new Target('server', 2); |
|
45 | $this->prepaid = Quantity::gigabyte(10); |
|
46 | $this->money = Money::USD(15); |
|
47 | $this->price = new SinglePrice(5, $this->type, $this->target, null, $this->prepaid, $this->money); |
|
48 | } |
|
49 | ||
50 | protected function createAction($quantity) |
|
51 | { |
@@ 40-47 (lines=8) @@ | ||
37 | */ |
|
38 | protected $money; |
|
39 | ||
40 | protected function setUp() |
|
41 | { |
|
42 | $this->target = new Target('server', 1); |
|
43 | $this->type = new Type('server_traf'); |
|
44 | $this->quantity = Quantity::gigabyte(10); |
|
45 | $this->money = Money::USD(15); |
|
46 | $this->price = new SinglePrice(null, $this->type, $this->target, null, $this->quantity, $this->money); |
|
47 | } |
|
48 | ||
49 | protected function tearDown() |
|
50 | { |