}
public void test_FooValueToObject()
throws Exception
{
StatelessSessionHome home =
(StatelessSessionHome)PortableRemoteObject.narrow(
getInitialContext().lookup(StatelessSessionHome.JNDI_NAME),
StatelessSessionHome.class);
StatelessSession session = home.create();
//----------------------------------------------------------------------
Foo original = new Foo(9999, "foo test");
java.lang.Object echoedBack = session.fooValueToObject(original);
assertEquals(Util.echoFoo(original), echoedBack);
//----------------------------------------------------------------------