Package com.calclab.suco.client.ioc.decorator

Examples of com.calclab.suco.client.ioc.decorator.Chain


    @SuppressWarnings("unchecked")
    @Test
    public void testChain() {
  final Decorator d1 = mock(Decorator.class);
  final Decorator d2 = mock(Decorator.class);
  final Chain chain = new Chain(d1, d2);
  chain.decorate(null, null);
  verify(d1).decorate((Class) anyObject(), (Provider) anyObject());
    }
View Full Code Here

TOP

Related Classes of com.calclab.suco.client.ioc.decorator.Chain

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.