public void when_creating_xpath_attribute_with_null_attribute_name(string attributeValue, string expectedResult) { var result = _builder.GetAttributePart(null, attributeValue); result.ShouldBe(expectedResult); _cssValidatorMock.DidNotReceiveWithAnyArgs().ValidateClassName(Arg.Any <string>()); _xPathValidatorMock.DidNotReceiveWithAnyArgs().IsReservedFunctionName(Arg.Any <string>()); _xPathValidatorMock.DidNotReceiveWithAnyArgs().ValidateQName(Arg.Any <string>(), Arg.Any <string>()); _xPathValidatorMock.DidNotReceiveWithAnyArgs().ValidateNCName(Arg.Any <string>(), Arg.Any <string>()); }