public void Init()
		{
			MockAttribute testAttribute = new MockAttribute("Test");
			methodWithTestAttribute = MockMethod.CreateMockMethodWithAttribute(testAttribute);
			memberNodeForMethodWithTestAttribute = new MockMemberNode(methodWithTestAttribute);
			
			testFrameworks = new MockRegisteredTestFrameworks();
			testFrameworks.AddTestMethod(methodWithTestAttribute);
			
			testableCondition = new TestableCondition(testFrameworks);
		}
		public void Init()
		{
			MockAttribute testAttribute = new MockAttribute("Test");
			classWithTestAttribute = MockClass.CreateMockClassWithAttribute(testAttribute);
			IProject project = classWithTestAttribute.MockProjectContent.ProjectAsIProject;
			classNodeForClassWithTestAttribute = new ClassNode(project, classWithTestAttribute);
			
			testFrameworks = new MockRegisteredTestFrameworks();
			testFrameworks.AddTestClass(classWithTestAttribute);
			
			testableCondition = new TestableCondition(testFrameworks);
		}
		public void IsValidFromNullOwner()
		{
			TestableCondition testableCondition = new TestableCondition();
			Assert.IsFalse(testableCondition.IsValid(null, null));
		}
		public void IsValidWhenClassHasTestFixtureAttribute()
		{
			IProject project = new MockCSharpProject();
			MockClass mockClass = new MockClass();
			mockClass.Attributes.Add(new MockAttribute("TestFixture"));
			MockProjectContent mockProjectContent = new MockProjectContent();
			mockProjectContent.Project = project;
			mockProjectContent.Language = LanguageProperties.None;
			mockClass.ProjectContent = mockProjectContent;
			ClassNode classNode = new ClassNode(project, mockClass);

			TestableCondition testableCondition = new TestableCondition();
			Assert.IsTrue(testableCondition.IsValid(classNode, null));
		}
		public void IsValidWhenMethodHasTestAttribute()
		{
			MockMethod mockMethod = new MockMethod();
			mockMethod.Attributes.Add(new MockAttribute("Test"));
			IProject project = new MockCSharpProject();
			MockClass mockClass = new MockClass();
			MockProjectContent mockProjectContent = new MockProjectContent();
			mockProjectContent.Project = project;
			mockProjectContent.Language = LanguageProperties.None;
			mockClass.ProjectContent = mockProjectContent;
			mockMethod.DeclaringType = mockClass;
			MockMemberNode memberNode = new MockMemberNode(mockMethod);

			TestableCondition testableCondition = new TestableCondition();
			Assert.IsTrue(testableCondition.IsValid(memberNode, null));
		}
		public void IsValidWhenNameComparerIsNull()
		{
			IProject project = new MockCSharpProject();
			MockClass mockClass = new MockClass();
			MockProjectContent mockProjectContent = new MockProjectContent();
			mockProjectContent.Project = project;
			mockProjectContent.Language = new LanguageProperties(null);
			mockClass.ProjectContent = mockProjectContent;
			ClassNode classNode = new ClassNode(project, mockClass);

			TestableCondition testableCondition = new TestableCondition();
			Assert.IsFalse(testableCondition.IsValid(classNode, null));
		}
		public void IsValidWhenLanguageIsNull()
		{
			MSBuildBasedProject project = new MockCSharpProject();
			MockClass mockClass = new MockClass();
			MockProjectContent mockProjectContent = new MockProjectContent();
			mockProjectContent.Project = project;
			mockClass.ProjectContent = mockProjectContent;
			ClassNode classNode = new ClassNode(project, mockClass);

			TestableCondition testableCondition = new TestableCondition();
			Assert.IsFalse(testableCondition.IsValid(classNode, null));
		}
		public void IsValidWhenProjectIsNull()
		{
			MockClass mockClass = new MockClass();
			MockProjectContent mockProjectContent = new MockProjectContent();
			mockClass.ProjectContent = mockProjectContent;
			ClassNode classNode = new ClassNode(null, mockClass);
			
			TestableCondition testableCondition = new TestableCondition();
			Assert.IsFalse(testableCondition.IsValid(classNode, null));
		}
		public void Init()
		{
			testFrameworks = new MockRegisteredTestFrameworks();
			testableCondition = new TestableCondition(testFrameworks);
		}