	@Test
	public void testToString() {

		ThreadScope scope = new ThreadScope();
		Provider<String> prov = scope.scope(Key.get(String.class), new Provider<String>() {
			@Override
			public String get() {
				return "dummy";
			}

			@Override
			public String toString() {
				return get();
			}
		});
		Assert.assertEquals(prov.toString(), "dummy[ThreadScope]");
	}