Package com.gentics.cr.util

Source Code of com.gentics.cr.util.CRResolvableBeanTest

package com.gentics.cr.util;

import static org.junit.Assert.assertEquals;

import org.junit.Test;

import com.gentics.cr.CRResolvableBean;

public class CRResolvableBeanTest {
 
  @Test
  public void testContentidConstructor() {
    CRResolvableBean bean = new CRResolvableBean("3.4");
    assertEquals("Contentid not correct.", "3.4", bean.getContentid());
    assertEquals("obj_id not correct.", "4", bean.getObj_id());
    assertEquals("obj_type not correct.", "3", bean.getObj_type());
  }
}
TOP

Related Classes of com.gentics.cr.util.CRResolvableBeanTest

TOP
Copyright © 2018 www.massapi.com. 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.