@Test @DisplayName("With a name") public void testGetName() { when(accessor.getDatabaseName()).thenReturn("MyTableName"); assertThat(table.getName()).isEqualTo("MyTableName"); }
@Override public String getName() { return accessor.getDatabaseName(); }
DefaultClientTable implements ClientTable<E> { @Override public String getName() { return accessor.getDatabaseName(); } }
DefaultClientTable implements ClientTable<E> { @Override public String getName() { return accessor.getDatabaseName(); } DefaultClientTable(DatabaseAccessor accessor, Function<String, ? extends ClientOperation<E>> operationMap);   DefaultClientTable(DatabaseAccessor accessor, Function<String, ? extends ClientOperation<E>> operationMap, Clock clock); }
DefaultClientTable implements ClientTable<E> { @Override public String getName() { return accessor.getDatabaseName(); } DefaultClientTable(DatabaseAccessor accessor, Function<String, ? extends ClientOperation<E>> operationMap);   DefaultClientTable(DatabaseAccessor accessor, Function<String, ? extends ClientOperation<E>> operationMap, Clock clock); @Override String getName(); @Override Event append(String user, String operation, String objectId, String data); @Override Stream<E> findAll(); E findById(String id); }
DefaultClientTable implements ClientTable<E> { @Override public String getName() { return accessor.getDatabaseName(); } DefaultClientTable(DatabaseAccessor accessor, Function<String, ? extends ClientOperation<E>> operationMap);   DefaultClientTable(DatabaseAccessor accessor, Function<String, ? extends ClientOperation<E>> operationMap, Clock clock); @Override String getName(); @Override Event append(String user, String operation, String objectId, String data); @Override Stream<E> findAll(); E findById(String id);  }