public void testMatchAsteriskEmbedded() throws Exception
{
new QueryTEST(
new MBean[]
{
new MBean(new StringTest("Hello"), "Domain1:type=instance1"),
},
new MBean[]
{
new MBean(new StringTest("ell"), "Domain2:type=instance1"),
new MBean(new StringTest("endell"), "Domain2:type=instance2"),
new MBean(new StringTest("beginningell"), "Domain2:type=instance3"),
new MBean(new StringTest("Goodbye"), "Domain2:type=instance4"),
new MBean(new StringTest("el"), "Domain2:type=instance5"),
new MBean(new StringTest("ll"), "Domain2:type=instance6"),
new MBean(new StringTest("e ll"), "Domain4:type=instance7"),
new MBean(new StringTest("ELL"), "Domain2:type=instance8"),
new MBean(new StringTest("Ell"), "Domain2:type=instance9")
},
Query.match(Query.attr("String"), Query.value("H*o"))
).test();
}