public void resolves_the_value() { var value = new DynamicValue("${foo}"); var services = new InMemoryServiceLocator(); services.Add <IMappingVariableExpander>(new StubExpander()); value.Resolve(services).ShouldEqual("bar"); }