public void Should_Throw_If_FilePath_Is_Null()
            {
                // Given
                var fixture = new SvnAdderFixture
                {
                    FilePath = null
                };

                // When
                // Then
                Assert.Throws <ArgumentNullException>("file", () => fixture.Add());
            }
            public void Should_Proxy_Call_To_SvnClient()
            {
                // Given
                var fixture = new SvnAdderFixture();

                // When
                fixture.Add();

                // Then
                fixture.SvnClient.Received(1).Add(fixture.DirectoryPath.ToString(), fixture.Settings);
                fixture.SvnClient.Received(1).Add(fixture.FilePath.ToString(), fixture.Settings);
            }
            public void Should_Throw_If_Settings_Is_Null()
            {
                // Given
                var fixture = new SvnAdderFixture
                {
                    Settings = null
                };

                // When
                // Then
                Assert.Throws <ArgumentNullException>("settings", () => fixture.Add());
            }