Package com.linkedin.data.template

Examples of com.linkedin.data.template.FixedTemplate


      // check for clone and copy override with correct return type
      TestDataTemplateUtil.assertCloneAndCopyReturnType(fixedClass);

      // test clone
      FixedTemplate fixedClone = fixed.clone();
      assertSame(fixedClone.getClass(), fixed.getClass());
      assertSame(fixedClone.bytes(), fixed.bytes());

      // test copy
      FixedTemplate fixedCopy = fixed.clone();
      assertSame(fixedCopy.getClass(), fixed.getClass());
      assertSame(fixedCopy.bytes(), fixed.bytes());
    }
    catch (Exception exc)
    {
      fail("Unexpected exception", exc);
    }
View Full Code Here

TOP

Related Classes of com.linkedin.data.template.FixedTemplate

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.