Package org.bladerunnerjs.plugin.proxy

Examples of org.bladerunnerjs.plugin.proxy.VirtualProxyPlugin


import org.junit.Test;

public class VirtualProxyPluginTest {
  @Test
  public void instanceOfWorks() {
    Plugin plugin = new VirtualProxyPlugin(new MyTestPlugin());
   
    assertTrue("1", plugin.instanceOf(MyTestPlugin.class));
    assertTrue("2", plugin.instanceOf(TestPlugin.class));
  }
View Full Code Here


  }
 
  @Test
  public void equalityWorks() {
    Plugin plugin = new MyTestPlugin();
    Plugin proxyPlugin = new VirtualProxyPlugin(plugin);
   
    assertTrue("1", plugin.equals(plugin));
    assertTrue("2", proxyPlugin.equals(proxyPlugin));
    assertTrue("3", proxyPlugin.equals(plugin));
    assertTrue("4", plugin.equals(proxyPlugin));
  }
View Full Code Here

TOP

Related Classes of org.bladerunnerjs.plugin.proxy.VirtualProxyPlugin

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.