Id() 공개 메소드

public Id ( string projectId ) : void
projectId string
리턴 void
        public void Id()
        {
            // Arrange
            var buildProjectHavingBuilder = new BuildProjectHavingBuilder();

            // Act
            buildProjectHavingBuilder.Id("ProjectId1");

            // Assert
            buildProjectHavingBuilder.GetLocator().Should().Be("id:ProjectId1");
        }
        public void Id()
        {
            var buildProjectHavingBuilder = new BuildProjectHavingBuilder();
            var projectHavingBuilder = buildProjectHavingBuilder.Id("ProjectId1");

            // Act
            var locator = projectHavingBuilder.GetLocator();

            // Assert
            locator.Should().Be("id:ProjectId1");
        }