/** Getting TypeOption by not existing key */ @Test public void getTypeByKey2() { TypeConfig option = service.getTypeByKey("key2"); assertNull(option); }