Search in sources :

Example 1 with A

use of uk.co.jemos.podam.test.dto.pdm42.A in project dex2jar by pxb1988.

the class I88 method main.

public static void main(String... args) {
    A a = I88.class.getAnnotation(A.class);
    System.out.println(a.a());
}
Also used : A(res.I88.A)

Example 2 with A

use of uk.co.jemos.podam.test.dto.pdm42.A in project podam by devopsfolks.

the class InheritanceTest method podamShouldManufactureAllPojosInATreeHierarchy.

@Test
@Title("Podam should manufacture all POJOs in a tree hierarchy")
public void podamShouldManufactureAllPojosInATreeHierarchy() throws Exception {
    PodamFactory podamFactory = podamFactorySteps.givenAStandardPodamFactory();
    A pojo = podamInvocationSteps.whenIInvokeTheFactoryForClass(A.class, podamFactory);
    podamValidationSteps.theObjectShouldNotBeNull(pojo);
    B b = pojo.getB();
    podamValidationSteps.theObjectShouldNotBeNull(b);
    podamValidationSteps.theObjectShouldNotBeNull(b.getCustomValue());
}
Also used : A(uk.co.jemos.podam.test.dto.pdm42.A) B(uk.co.jemos.podam.test.dto.pdm42.B) PodamFactory(uk.co.jemos.podam.api.PodamFactory) Test(org.junit.Test) Title(net.thucydides.core.annotations.Title)

Aggregations

Title (net.thucydides.core.annotations.Title)1 Test (org.junit.Test)1 A (res.I88.A)1 PodamFactory (uk.co.jemos.podam.api.PodamFactory)1 A (uk.co.jemos.podam.test.dto.pdm42.A)1 B (uk.co.jemos.podam.test.dto.pdm42.B)1