public void WhenOnlyPathIsSet_CommandLineIsCorrect()
        {
            var fixture = new DockerRegistryLoginFixture
            {
                Settings = new DockerRegistryLoginSettings(),
                Path     = "path"
            };

            var actual = fixture.Run();

            Assert.That(actual.Args, Is.EqualTo("login path"));
        }
        public void WhenOnlyUsernameIsSet_CommandLineIsCorrect()
        {
            var fixture = new DockerRegistryLoginFixture
            {
                Settings = new DockerRegistryLoginSettings {
                    Username = "******"
                },
                Path = "path"
            };

            var actual = fixture.Run();

            Assert.That(actual.Args, Is.EqualTo("login --username \"Tubo\" path"));
        }