public void GetStatusWillRunForProvidedProject() { MockGitLocationForConfiguration(); Command command = MockCommandProperties(); Runner runner = MockRunner(); Mocks.ReplayAll(); runner.Output = "# On branch "; var status = new Status { ProjectLocation = GitTestProjectLocation, CommandArguments = command, Runner = runner, EnvironmentVariable = StubEnvironmentVariable() }; status.Run(); Assert.That(status.Output, Contains.Substring("# On branch ")); Assert.That(runner.Command, Is.EqualTo(command)); Assert.That(command.CommandFullLocation, Is.EqualTo(GitInstallLocation)); Assert.That(command.Arguments, Is.EqualTo("status")); Assert.That(command.WorkingDirectory, Is.EqualTo(GitTestProjectLocation)); }