| {
// Test in first
new QueryTEST(
new MBean[]
{
new MBean(new Trivial(), "Domain1:type=instance1")
},
new MBean[0],
Query.in
(
one,
new ValueExp[]
{
one, two, two
}
)
).test();
// Test in last
new QueryTEST(
new MBean[]
{
new MBean(new Trivial(), "Domain1:type=instance1")
},
new MBean[0],
Query.in
(
one,
new ValueExp[]
{
two, two, one
}
)
).test();
// Test in not the first or last
new QueryTEST(
new MBean[]
{
new MBean(new Trivial(), "Domain1:type=instance1")
},
new MBean[0],
Query.in
(
one,
new ValueExp[]
{
two, one, two
}
)
).test();
// Test not in
new QueryTEST(
new MBean[0],
new MBean[]
{
new MBean(new Trivial(), "Domain1:type=instance1")
},
Query.in
(
one,
new ValueExp[]
|