public void testWhenDogIsFeatured() {
Pet expected = Pet.DOG;
PetStoreModuleWithTestIdBasedOverride.override.put(testId, expected);
// register a tearDown, so that at the end of the test,
// the override is set to null again
tearDownAccepter.addTearDown(new TearDown() {
public void tearDown() {
PetStoreModuleWithTestIdBasedOverride.override.remove(testId);
}
});
welcomeTestPage