public void SerializeComplexType() { ISecondService service = Simply.Do[ConfigKey].Resolve <ISecondService>(); service.GetComplexType().Oi.Should().Be("whatever"); service.GetComplexType().Tchau.Should().Be(42); }