import org.mule.weave.v2.pojo.Animal
import org.mule.weave.v2.pojo.Human
import org.mule.weave.v2.pojo.Jungle
import org.mule.weave.v2.pojo.SuperHuman

def jungle = new Jungle()
def humans = new Animal[2]
humans[0] = new Human("Shoki", "Shokida")
humans[1] = new SuperHuman("Shokiman", "Shokida", true)
jungle.setAnimalsArray(humans)
Optional.of(jungle)