@Test
public void get() throws Exception {

  when(resource.get()).thenReturn(configMap1);
  try (ConfigMapSupplier underTest = new ConfigMapSupplier(client, name)) {
    assertThat(underTest.get(), is(configMap1));
  }
  verify(watch).close();
}