ch.hsr.bieridee.test
Class TagModelTest

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

public class TagModelTest
extends DBTest

Tests the TagModel Class.


Constructor Summary
TagModelTest()
           
 
Method Summary
 void addTagToBeerModel()
          Creates new Tag and Links it with a BeerModel.
 void createNewTag()
          Creates new Tag and stores it in DB.
 
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

TagModelTest

public TagModelTest()
Method Detail

addTagToBeerModel

public void addTagToBeerModel()
Creates new Tag and Links it with a BeerModel.


createNewTag

public void createNewTag()
Creates new Tag and stores it in DB. Checks if the Node was properly saved in the DB.