public void PrepareResource_NoError()
        {
            //Act
            Action action = () =>
            {
                Uri externalUri = _resource.GetContainerUri();
                Uri internalUri = _resource.GetInternalContainerUri();
            };

            //Assert
            action.Should().NotThrow();
        }
Ejemplo n.º 2
0
        public void PrepareResource_NoError()
        {
            //Act
            Action action = () =>
            {
                _resource.GetContainerUri();
            };

            //Assert
            action.Should().NotThrow();
        }
Ejemplo n.º 3
0
        public async Task UseLocalImageTest()
        {
            // Arrange: See LocalAppOptions

            // Act
            Uri containerUri = _containerResource.GetContainerUri();

            // Assert
            containerUri.Should().NotBeNull();

            await DockerClient.Images.DeleteImageAsync(
                $"{LocalTagName}:{LocalTagVersion}",
                new ImageDeleteParameters(),
                CancellationToken.None);
        }