VarNamePattern { public boolean matches( String varName) { return matches( new VarNamePattern( varName)); } VarNamePattern( String pattern); boolean matches( String varName); boolean matches( VarNamePattern varName); boolean isValid(); boolean isApplicable( FunctionInputDef inputDef); boolean equals( Object object); int hashCode(); String toString();  }
@Test public void testMatches_3() { VarNamePattern pattern = new VarNamePattern ( "1.2.3.*"); String string = "1.2"; assertThat ( "pattern=" + pattern + " matches string=" + string, pattern.matches( string), is( false)); }
@Test public void testMatches_4() { VarNamePattern pattern = new VarNamePattern ( "var"); String string = "var.extra"; assertThat ( "pattern=" + pattern + " matches string=" + string, pattern.matches( string), is( false)); }
@Test public void testMatches_5() { VarNamePattern pattern = new VarNamePattern ( "1.2.3.*"); String string = "1.2.4.5"; assertThat ( "pattern=" + pattern + " matches string=" + string, pattern.matches( string), is( false)); }
@Test public void testMatches_6() { VarNamePattern pattern = new VarNamePattern ( "1.2.3.*"); String string = "1.2.3"; assertThat ( "pattern=" + pattern + " matches string=" + string, pattern.matches( string), is( false)); }
@Test public void testMatches_7() { VarNamePattern pattern = new VarNamePattern ( "1.2.3.*"); String string = "1.2.3.4.5"; assertThat ( "pattern=" + pattern + " matches string=" + string, pattern.matches( string), is( false)); }
@Test public void testMatches_8() { VarNamePattern pattern = new VarNamePattern ( "1.2.3.**"); String string = "1.2.3"; assertThat ( "pattern=" + pattern + " matches string=" + string, pattern.matches( string), is( true)); }
@Test public void testMatches_0() { VarNamePattern pattern = new VarNamePattern ( "var"); String string = "var"; assertThat ( "pattern=" + pattern + " matches string=" + string, pattern.matches( string), is( true)); }
@Test public void testMatches_1() { VarNamePattern pattern = new VarNamePattern ( "1.2.3.*"); String string = "1.2.3.4"; assertThat ( "pattern=" + pattern + " matches string=" + string, pattern.matches( string), is( true)); }
@Test public void testMatches_2() { VarNamePattern pattern = new VarNamePattern ( "**"); String string = "1.2.3.4"; assertThat ( "pattern=" + pattern + " matches string=" + string, pattern.matches( string), is( true)); }