container.addInstance(new Generic<List<String>>() {}, strings);
container = SerializationTestingUtil.getSerializedCopy(container);
TimeoutMonitor monitor = container.get(TimeoutMonitor.class);
assertNotNull(monitor);
assertEquals(strings, container.get(new Generic<List<String>>(){}));