@BeforeMethod(alwaysRun = true) @Override public void setUp() throws Exception { super.setUp(); loc = new LocalhostMachineProvisioningLocation(); entity = app.createAndManageChild(EntitySpec.create(TestEntity.class)); app.start(ImmutableList.of(loc)); }
@AfterMethod(alwaysRun = true) @Override public void tearDown() throws Exception { super.tearDown(); }
@Override @BeforeMethod(alwaysRun = true) public void setUp() throws Exception { RecordingStaticUsageListener.clearInstances(); super.setUp(); }
@Override @AfterMethod(alwaysRun = true) public void tearDown() throws Exception { super.tearDown(); RecordingStaticUsageListener.clearInstances(); }
@BeforeMethod(alwaysRun = true) public void setUp() throws Exception { super.setUp(); loc1 = app.newSimulatedLocation(); loc2 = app.newSimulatedLocation(); }