//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void testStringContains_SomeValues() public virtual void TestStringContainsSomeValues() { StringContainsPredicate p = IndexQuery.StringContains(_propId, stringValue("cat")); assertFalse(Test(p, "dog")); assertFalse(Test(p, "cameraman")); assertFalse(Test(p, "Cat")); assertTrue(Test(p, "cat")); assertTrue(Test(p, "bobcat")); assertTrue(Test(p, "scatman")); }
// STRING CONTAINS //JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void testStringContains_FalseForIrrelevant() public virtual void TestStringContainsFalseForIrrelevant() { StringContainsPredicate p = IndexQuery.StringContains(_propId, stringValue("cat")); AssertFalseForOtherThings(p); }