use of com.linkedin.pegasus.generator.test.idl.records.WithCustomRecord in project rest.li by linkedin.
the class TyperefGeneratorTest method testCustomTypeOfRecordDefault.
@Test
public void testCustomTypeOfRecordDefault() throws Throwable {
WithCustomRecord original = new WithCustomRecord();
assertEquals(original.getCustom().getTitle(), "defaultTitle");
assertEquals(original.getCustom().getBody(), "defaultBody");
}
Aggregations