Package test.container.X

Examples of test.container.X.New


  }

  @Test
  public void new_()
  {
    New o = con.get(New.class);
    assertSame(New.class, o.getClass());
    assertSame(con, o.con);
    assertSame(Deprecated.class.getName(), o.name);
    assertEquals( -1, o.new_);
    assertEquals(9, o.obj);
    assertSame(null, o.ints);

    New o1 = con.get(New.class);
    assertNotSame(o, o1);
    assertSame(o.con, o1.con);
    assertSame(o.name, o1.name);
    assertEquals(o.new_, o1.new_);

    New o2 = con.getNew(New.class);
    assertNotSame(o, o2);
    assertNotSame(o1, o2);
    assertSame(o.con, o2.con);
    assertSame(o.name, o2.name);
    assertEquals(o.new_, o2.new_);
View Full Code Here

TOP

Related Classes of test.container.X.New

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.