DefaultSyncResultImpl implements SyncResult { @Override @NotNull public Status getStatus() { return status; } DefaultSyncResultImpl(@Nullable DefaultSyncedIdentity id, @NotNull Status status); @Override @Nullable DefaultSyncedIdentity getIdentity(); @Override @NotNull Status getStatus(); void setStatus(@NotNull Status status);  }
@Test public void testGetStatus() { for (SyncResult.Status s : SyncResult.Status.values()) { assertSame(s, new DefaultSyncResultImpl(null, s).getStatus()); } }