ch.hsr.bieridee.test
Class ConsumptionModelTest

java.lang.Object
  extended by ch.hsr.bieridee.test.DBTest
      extended by ch.hsr.bieridee.test.ConsumptionModelTest

public class ConsumptionModelTest
extends DBTest

Tests the consumption model.


Constructor Summary
ConsumptionModelTest()
           
 
Method Summary
 void setUp()
          Creates a beermodel which is used to create a consumption.
 void testConsumptionModelCreation()
          Tests the creation of a new Consumption.
 void testInsertToTimeline()
          Tests if the Consumption was inserted into the timeline.
 
Methods inherited from class ch.hsr.bieridee.test.DBTest
shutdownDB, startResletAPI
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsumptionModelTest

public ConsumptionModelTest()
Method Detail

setUp

public void setUp()
Creates a beermodel which is used to create a consumption.


testConsumptionModelCreation

public void testConsumptionModelCreation()
Tests the creation of a new Consumption.


testInsertToTimeline

public void testInsertToTimeline()
Tests if the Consumption was inserted into the timeline.