@Test
public void shouldRecordDatastoreEntityWrites() {

  when(registry.meter(DATASTORE_OPERATION_RATE.tagged("operation", "write", "kind", "foobar"))).thenReturn(meter);
  stats.recordDatastoreEntityWrites("foobar", 17);
  verify(meter).mark(17);
}