public void IsValidForRequestReturnsTrueIfGivenNameMatches() {
            // Arrange
            ActionNameAttribute attr = new ActionNameAttribute("Bar");

            // Act
            bool returned = attr.IsValidName(null, "bar", null);

            // Assert
            Assert.IsTrue(returned, "Given name should have matched.");
        }
        public void IsValidForRequestReturnsFalseIfGivenNameDoesNotMatch() {
            // Arrange
            ActionNameAttribute attr = new ActionNameAttribute("Bar");

            // Act
            bool returned = attr.IsValidName(null, "foo", null);

            // Assert
            Assert.IsFalse(returned, "Given name should not have matched.");
        }