@Test public void serializesCorrectly() throws Exception {

  SanitizedSecretWithGroups sanitizedSecretWithGroups = SanitizedSecretWithGroups.of(sanitizedSecret, groups);
  assertThat(asJson(sanitizedSecretWithGroups))
      .isEqualTo(jsonFixture("fixtures/sanitizedSecretWithGroups.json"));
}