StumpNameExists() public method

Determines if a stump with the specified name exists.
public StumpNameExists ( string stumpName ) : bool
stumpName string The name of the stump.
return bool
        public void StumpNameExists_WithExistantName_ReturnsTrue()
        {
            var contract = new StumpContract()
            {
                OriginalRequest = new RecordedRequest(Substitute.For<IStumpsHttpRequest>(), ContentDecoderHandling.DecodeNotRequired),
                OriginalResponse = new RecordedResponse(Substitute.For<IStumpsHttpResponse>(), ContentDecoderHandling.DecodeNotRequired),
                Response = new RecordedResponse(Substitute.For<IStumpsHttpResponse>(), ContentDecoderHandling.DecodeNotRequired),
                StumpCategory = "ABC",
                StumpId = "abc",
                StumpName = "StumpName"
            };

            var instance = new StumpsServerInstance(Substitute.For<IServerFactory>(), _serverId, _dal);
            instance.CreateStump(contract);
            Assert.IsTrue(instance.StumpNameExists(contract.StumpName));
        }
        public void StumpNameExists_WithExistantName_ReturnsTrue()
        {
            var contract = new StumpContract()
            {
                OriginalRequest  = new RecordedRequest(Substitute.For <IStumpsHttpRequest>(), ContentDecoderHandling.DecodeNotRequired),
                OriginalResponse = new RecordedResponse(Substitute.For <IStumpsHttpResponse>(), ContentDecoderHandling.DecodeNotRequired),
                Response         = new RecordedResponse(Substitute.For <IStumpsHttpResponse>(), ContentDecoderHandling.DecodeNotRequired),
                StumpCategory    = "ABC",
                StumpId          = "abc",
                StumpName        = "StumpName"
            };

            var instance = new StumpsServerInstance(Substitute.For <IServerFactory>(), _serverId, _dal);

            instance.CreateStump(contract);
            Assert.IsTrue(instance.StumpNameExists(contract.StumpName));
        }
 public void StumpNameExists_WithNonExistantName_ReturnsFalse()
 {
     var instance = new StumpsServerInstance(Substitute.For<IServerFactory>(), _serverId, _dal);
     Assert.IsFalse(instance.StumpNameExists("name"));
 }
        public void StumpNameExists_WithNonExistantName_ReturnsFalse()
        {
            var instance = new StumpsServerInstance(Substitute.For <IServerFactory>(), _serverId, _dal);

            Assert.IsFalse(instance.StumpNameExists("name"));
        }