public void WhenCallingGetServiceItShouldReturnTheValueRegisteredForTheService() { // Arrange var container = new ShifterContainer(); container.AddInstance("The string that should be returned."); // Act var service = container.GetService(typeof(string)); // Assert service.Should().Be("The string that should be returned.", "because this string should be returned."); }