### Question:
DataTypeManagerStackStore { public List<String> get(final String uuid) { return Optional.ofNullable(typeStack.get(uuid)).orElse(new ArrayList<>()); }  List<String> get(final String uuid); void put(final String uuid,
                    final List<String> types); void clear();  }### Answer:
@Test public void testGetWhenTypeStackHasTheUUID() { assertEquals(types, typeStack.get(uuid)); }
@Test public void testGetWhenTypeStackDoesNotHaveTheUUID() { final List<Object> expectedTypes = emptyList(); final List<String> actualTypes = typeStack.get("otherUUID"); assertEquals(expectedTypes, actualTypes); }