Search in sources :

Example 1 with SuperHero

use of org.assertj.core.util.introspection.beans.SuperHero in project assertj-core by joel-costigliola.

the class MethodSupport_methodResultFor_Test method setUp.

@Before
public void setUp() {
    bruceWayne = new Person("Bruce Wayne");
    joker = new Person("Joker");
    batman = new SuperHero("Batman", bruceWayne, joker);
}
Also used : SuperHero(org.assertj.core.util.introspection.beans.SuperHero) Person(org.assertj.core.test.Person) Before(org.junit.Before)

Example 2 with SuperHero

use of org.assertj.core.util.introspection.beans.SuperHero in project assertj-core by joel-costigliola.

the class PropertySupport_publicGetterExistsFor_Test method setUp.

@Before
public void setUp() {
    bruceWayne = new Person("Bruce Wayne");
    joker = new Person("Joker");
    batman = new SuperHero("Batman", bruceWayne, joker);
}
Also used : SuperHero(org.assertj.core.util.introspection.beans.SuperHero) Person(org.assertj.core.test.Person) Before(org.junit.Before)

Aggregations

Person (org.assertj.core.test.Person)2 SuperHero (org.assertj.core.util.introspection.beans.SuperHero)2 Before (org.junit.Before)2