public void TestResult() { var service = new ExampleService(Substitute.For <ILogger <ExampleService> >()); var result = service.Test("Test"); Assert.IsType <string>(result); }