fc2a8dc633d34236e656cec8e8afc81bfc10abbf
[aquarium] / logic / src / test / scala / gr / grnet / aquarium / logic / test / BillingTest.scala
1 package gr.grnet.aquarium.logic.test
2
3 import org.junit._
4 import gr.grnet.aquarium.logic.Bills
5 import gr.grnet.aquarium.model.{Entity, DB}
6
7 class BillingTest
8   extends FixtureLoader with Bills {
9
10   @Before
11   def before() = {
12     if (!DB.getTransaction.isActive)
13       DB.getTransaction.begin
14     //loadFixture("data.json")
15   }
16
17   @Test
18   def testCalcBill = {
19
20   }
21
22   @Test
23   def testAccountingRules() = {
24
25   }
26
27   @After
28   def after() = {
29     DB.getTransaction.rollback()
30   }
31 }