{
// Test in first
new QueryTEST(
new MBean[]
{
new MBean(new Trivial(), "Domain1:type=instance1")
},
new MBean[0],
Query.in
(
value1,
new ValueExp[]
{
value1, value2, value3, value4, value5, value6
}
)
).test();
// Test in last
new QueryTEST(
new MBean[]
{
new MBean(new Trivial(), "Domain1:type=instance1")
},
new MBean[0],
Query.in
(
value6,
new ValueExp[]
{
value1, value2, value3, value4, value5, value6
}
)
).test();
// Test in not the first or last
new QueryTEST(
new MBean[]
{
new MBean(new Trivial(), "Domain1:type=instance1")
},
new MBean[0],
Query.in
(
value3,
new ValueExp[]
{
value1, value2, value3, value4, value5, value6
}
)
).test();
// Test not in
new QueryTEST(
new MBean[0],
new MBean[]
{
new MBean(new Trivial(), "Domain1:type=instance1")
},
Query.in
(
value1,
new ValueExp[]