@Test public void save() { CassandraInstance instance = createMock(CassandraInstance.class); dao.save(RING_NAME, instance); replayAll(); service.save(RING_NAME, instance); }
@Override public void save(String ring, CassandraInstance instance) { dao.save(ring, instance); }
CassandraInstanceServiceImpl implements CassandraInstanceService { @Override public void save(String ring, CassandraInstance instance) { dao.save(ring, instance); } }
CassandraInstanceServiceImpl implements CassandraInstanceService { @Override public void save(String ring, CassandraInstance instance) { dao.save(ring, instance); } @Inject  CassandraInstanceServiceImpl(CassandraInstanceDao dao); }
CassandraInstanceServiceImpl implements CassandraInstanceService { @Override public void save(String ring, CassandraInstance instance) { dao.save(ring, instance); } @Inject  CassandraInstanceServiceImpl(CassandraInstanceDao dao); @Override ImmutableSet<CassandraInstance> findAll(String ring); @Override @Nullable CassandraInstance findById(String ring, int id); @Override void save(String ring, CassandraInstance instance); @Override void delete(String ring, CassandraInstance instance); }
CassandraInstanceServiceImpl implements CassandraInstanceService { @Override public void save(String ring, CassandraInstance instance) { dao.save(ring, instance); } @Inject  CassandraInstanceServiceImpl(CassandraInstanceDao dao); @Override ImmutableSet<CassandraInstance> findAll(String ring); @Override @Nullable CassandraInstance findById(String ring, int id); @Override void save(String ring, CassandraInstance instance); @Override void delete(String ring, CassandraInstance instance);  }