Created
May 23, 2012 02:53
-
-
Save awilmore/2772999 to your computer and use it in GitHub Desktop.
Andrew's Get And Set Tester
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import static com.iaglimited.testing.util.GetterSetterTestProvider.shouldSetAndGet; | |
import org.junit.Test; | |
import com.iaglimited.testing.util.GetterSetterTestFilter; | |
public class GetAndSetExampleTest { | |
@Test | |
public void shouldSupportCorectGetterSetterBehaviour() { | |
shouldSetAndGet(new SomeClassUnderTest(), new GetterSetterTestFilter() { | |
@Override | |
public boolean exclude(String name) { | |
return name.equals("SomeName"); | |
} | |
}); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment