public void CircularDependency() { cacheUnderTest = new SimpleCache(); ExceptionAssert.Throws<CircularDependencyException>(() => cacheUnderTest.Resolve("urn:a", NeedA)); }