Exemplo n.º 1
0
 @Test
 public void test_KrmsTypeDefinition_set_validation_id_success_null() {
   KrmsTypeDefinition.Builder builder = KrmsTypeDefinition.Builder.create(NAME, NAMESPACE);
   builder.setId(null);
 }
Exemplo n.º 2
0
 @Test(expected = java.lang.IllegalArgumentException.class)
 public void test_KrmsTypeDefinition_set_validation_id_fail_empty() {
   KrmsTypeDefinition.Builder builder = KrmsTypeDefinition.Builder.create(NAME, NAMESPACE);
   builder.setId("");
 }
Exemplo n.º 3
0
 public static KrmsTypeDefinition buildFullKrmsTypeDefinition() {
   KrmsTypeDefinition.Builder builder = KrmsTypeDefinition.Builder.create(NAME, NAMESPACE);
   builder.setId(ID);
   KrmsTypeDefinition krmsTypeDefinition = builder.build();
   return krmsTypeDefinition;
 }