@Test
public void testOpenCreatsCallOperationWithProperties() {
RemoteObject remoteObject = environment.getRemoteObject();
AppLauncher launcher = new AppLauncherImpl();
LaunchOptions options = new MailOptions( "foo" );
options.add( "foo", "bar" );
options.add( "foo1", "bar1" );
launcher.open( options );
ArgumentCaptor<JsonObject> captor = ArgumentCaptor.forClass( JsonObject.class );
verify( remoteObject ).call( eq( "open" ), captor.capture() );