// then the resource provider, which will provide 3 resources,
// 2 of which match the consumers filter conditions
m.add(resourceProvider);
// make sure our consumer invoked openStream() on both resources,
// increasing the step counter to 2
e.step(3);
// now add another consumer, that matches only one resource, and uses
// a dynamic proxy as its implementation
m.add(dynamicProxyConsumer);
// ensure the resource was injected properly