public void ShouldGetOneProblemWithFaultOnOneWayOperation()
        {
            NoFaultsWithOneWayOperation rule = new NoFaultsWithOneWayOperation();
			TypeNode typeNode = RuleHelper.GetTypeNodeFromType(typeof(IFaultsWithOneWayOperation));
            rule.Check(typeNode.GetMembersNamed(Identifier.For("Operation"))[0]);

            Assert.AreEqual(1, rule.Problems.Count);
        }
        public void ShouldGetOneProblemWithFaultOnOneWayOperation()
        {
            NoFaultsWithOneWayOperation rule = new NoFaultsWithOneWayOperation();
            TypeNode typeNode = RuleHelper.GetTypeNodeFromType(typeof(IFaultsWithOneWayOperation));

            rule.Check(typeNode.GetMembersNamed(Identifier.For("Operation"))[0]);

            Assert.AreEqual(1, rule.Problems.Count);
        }