public class ConstructorWithSelfReferencesButNoDefaultConstructorPojo
extends java.lang.Object
implements java.io.Serializable
This POJO cannot be reliably built due to infinite loop, so PODAM will throw
a PodamMockeryException
Modifier and Type | Field and Description |
---|---|
private ConstructorWithSelfReferencesButNoDefaultConstructorPojo |
anotherParent
Another parent instance
|
private int |
intField
Int field
|
private ConstructorWithSelfReferencesButNoDefaultConstructorPojo |
parent
Parent instance
|
private static long |
serialVersionUID |
Constructor and Description |
---|
ConstructorWithSelfReferencesButNoDefaultConstructorPojo(int intField,
ConstructorWithSelfReferencesButNoDefaultConstructorPojo parent,
ConstructorWithSelfReferencesButNoDefaultConstructorPojo anotherParent) |
Modifier and Type | Method and Description |
---|---|
ConstructorWithSelfReferencesButNoDefaultConstructorPojo |
getAnotherParent() |
int |
getIntField() |
ConstructorWithSelfReferencesButNoDefaultConstructorPojo |
getParent() |
private static final long serialVersionUID
private int intField
private ConstructorWithSelfReferencesButNoDefaultConstructorPojo parent
private ConstructorWithSelfReferencesButNoDefaultConstructorPojo anotherParent
public ConstructorWithSelfReferencesButNoDefaultConstructorPojo(int intField, ConstructorWithSelfReferencesButNoDefaultConstructorPojo parent, ConstructorWithSelfReferencesButNoDefaultConstructorPojo anotherParent)
intField
- The int fieldparent
- The parent objectanotherParent
- Another parentpublic int getIntField()
public ConstructorWithSelfReferencesButNoDefaultConstructorPojo getParent()
public ConstructorWithSelfReferencesButNoDefaultConstructorPojo getAnotherParent()
Copyright © 2023. All rights reserved.