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"); }