public void Create_returns_the_class_resolved_from_automoqer() { WithAutoMoqer.mocker = new AutoMoqer(); Assert.Same(WithAutoMoqer.Create <Test>().Dependency, WithAutoMoqer.GetMock <IDependency>().Object); }
public void GetMock_returns_the_mock() { WithAutoMoqer.mocker = new AutoMoqer(); Assert.Same(WithAutoMoqer.GetMock <IDependency>(), WithAutoMoqer.mocker.GetMock <IDependency>()); }