@Test
public void validateRegistrationThrowingOk() {

  Group.Builder builder = Group.newBuilder();
  OwnerCollection.Builder oc = OwnerCollection.newBuilder()
      .addItems(Owner.newBuilder().setName("Bob").setUsername("bob"));
  builder.setOwners(oc)
      .setKey("key1")
      .setName("ns 1");
  try {
    new GroupValidator().validateRegistrationThrowing(builder.build());
  } catch (ServiceException e) {
    fail();
  }
}