public void CreateGetTotalNumberOfGreetingsActionTest() { var action = A.Fake <IGetTotalNumberOfGreetingsAction>(); var resourceProvider = A.Fake <IResourceProvider>(); A.CallTo(() => resourceProvider.CreateResource <IGetTotalNumberOfGreetingsAction>()).Returns(action); var sut = new ActionFactory(resourceProvider); var result = sut.CreateGetTotalNumberOfGreetingsAction(); result.Should().NotBeNull(); }