@Test
public void testFindById() {

  when(this.ds.get(FlagSetting.class, "b")).thenReturn(this.flagSettings.get(0));
  when(this.ds.get(FlagSetting.class, CoreMatchers.not(CoreMatchers.equalTo("b"))))
      .thenReturn(null);
  when(this.ds.get(RangeSetting.class, "r")).thenReturn(this.rangeSettings.get(0));
  when(this.ds.get(RangeSetting.class, CoreMatchers.not(CoreMatchers.equalTo("r"))))
      .thenReturn(null);
  final Setting retrieved = this.sps.find("b").get();
  assertEquals(this.flagSettings.get(0), retrieved);
}