public class org.apache.isis.viewer.restfulobjects.applib.domainobjects.DomainObjectRepresentationTest_getCollection extends java.lang.Object
{
private org.apache.isis.viewer.restfulobjects.applib.domainobjects.DomainObjectRepresentation representation;
public void <init>()
{
org.apache.isis.viewer.restfulobjects.applib.domainobjects.DomainObjectRepresentationTest_getCollection v;
v := @this: org.apache.isis.viewer.restfulobjects.applib.domainobjects.DomainObjectRepresentationTest_getCollection;
specialinvoke v.<java.lang.Object: void <init>()>();
return;
}
public void setUp() throws java.lang.Exception
{
com.fasterxml.jackson.databind.JsonNode v;
org.apache.isis.viewer.restfulobjects.applib.domainobjects.DomainObjectRepresentationTest_getCollection v;
org.apache.isis.viewer.restfulobjects.applib.domainobjects.DomainObjectRepresentation v;
v := @this: org.apache.isis.viewer.restfulobjects.applib.domainobjects.DomainObjectRepresentationTest_getCollection;
v = new org.apache.isis.viewer.restfulobjects.applib.domainobjects.DomainObjectRepresentation;
v = staticinvoke <org.apache.isis.viewer.restfulobjects.applib.JsonFixture: com.fasterxml.jackson.databind.JsonNode readJson(java.lang.String)>("domainObjectRepresentation.json");
specialinvoke v.<org.apache.isis.viewer.restfulobjects.applib.domainobjects.DomainObjectRepresentation: void <init>(com.fasterxml.jackson.databind.JsonNode)>(v);
v.<org.apache.isis.viewer.restfulobjects.applib.domainobjects.DomainObjectRepresentationTest_getCollection: org.apache.isis.viewer.restfulobjects.applib.domainobjects.DomainObjectRepresentation representation> = v;
return;
}
public void getCollection() throws java.io.IOException
{
org.apache.isis.viewer.restfulobjects.applib.domainobjects.DomainObjectMemberRepresentation v;
org.apache.isis.viewer.restfulobjects.applib.domainobjects.DomainObjectRepresentation v;
org.hamcrest.Matcher v, v, v, v;
java.lang.Boolean v, v;
org.apache.isis.viewer.restfulobjects.applib.domainobjects.DomainObjectRepresentationTest_getCollection v;
v := @this: org.apache.isis.viewer.restfulobjects.applib.domainobjects.DomainObjectRepresentationTest_getCollection;
v = v.<org.apache.isis.viewer.restfulobjects.applib.domainobjects.DomainObjectRepresentationTest_getCollection: org.apache.isis.viewer.restfulobjects.applib.domainobjects.DomainObjectRepresentation representation>;
v = virtualinvoke v.<org.apache.isis.viewer.restfulobjects.applib.domainobjects.DomainObjectRepresentation: org.apache.isis.viewer.restfulobjects.applib.domainobjects.DomainObjectMemberRepresentation getCollection(java.lang.String)>("someCollection");
v = staticinvoke <org.hamcrest.CoreMatchers: org.hamcrest.Matcher nullValue()>();
v = staticinvoke <org.hamcrest.CoreMatchers: org.hamcrest.Matcher not(org.hamcrest.Matcher)>(v);
v = staticinvoke <org.hamcrest.CoreMatchers: org.hamcrest.Matcher is(org.hamcrest.Matcher)>(v);
staticinvoke <org.hamcrest.MatcherAssert: void assertThat(java.lang.Object,org.hamcrest.Matcher)>(v, v);
v = virtualinvoke v.<org.apache.isis.viewer.restfulobjects.applib.JsonRepresentation: java.lang.Boolean getBoolean(java.lang.String)>("value");
v = staticinvoke <java.lang.Boolean: java.lang.Boolean valueOf(boolean)>(1);
v = staticinvoke <org.hamcrest.CoreMatchers: org.hamcrest.Matcher is(java.lang.Object)>(v);
staticinvoke <org.hamcrest.MatcherAssert: void assertThat(java.lang.Object,org.hamcrest.Matcher)>(v, v);
return;
}
}