Package rabbit.ui.internal.util

Examples of rabbit.ui.internal.util.IVisualProvider


  @Test
  public void runShouldSetTheProvidersPaintCategory() {
    @SuppressWarnings("serial")
    class MyException extends RuntimeException {}
    ICategory category = mock(ICategory.class);
    IVisualProvider provider = mock(IVisualProvider.class);
    doThrow(new MyException()).when(provider).setVisualCategory(category);

    IAction action = create(category, provider);
    thrown.expect(MyException.class);
    action.run();
View Full Code Here

TOP

Related Classes of rabbit.ui.internal.util.IVisualProvider

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.