import org.junit.Test;
-
public class ServiceValidatorExecuterTest {
private ServiceValidatorExecuter createTestSubject() {
return new ServiceValidatorExecuter();
}
-
-
-
-
@Test
public void testGetName() {
ServiceValidatorExecuter testSubject;
testSubject = createTestSubject();
result = testSubject.getName();
}
+
+ @Test(expected=NullPointerException.class)
+ public void testExecuteValidations() throws Exception {
+ ServiceValidatorExecuter testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.executeValidations();
+ }
}
\ No newline at end of file