/** Test of pause method, of class GenericDecoration. */ @Test public void testPause() { GenericDecoration instance = new GenericDecoration(); instance.setBuildingVO(new BuildingVO()); instance.pause(); assertSame(true, instance.getBuildingVO().isProductionActive); }
/** Test of setBuildingVO method, of class GenericDecoration. */ @Test public void testSetBuildingVO() { BuildingVO bvo = new BuildingVO(); GenericDecoration instance = new GenericDecoration(); instance.setBuildingVO(bvo); assertSame(bvo, instance.buildingVO); assertSame(bvo, instance.getBuildingVO()); }