Closed SooKim1110 closed 8 months ago
@Value
public class SelfReference {
String foo;
SelfReference bar;
}
@Value
public class SelfReferenceList {
String foo;
List<SelfReferenceList> bar;
}
public interface GenericInterface<T> {
}
@Value
public static class GenericInterfaceImpl<T> implements GenericInterface<T> {
T foo;
}
public interface TwoGenericInterface<T, U> {
}
@Value
public static class TwoGenericImpl<T, U> implements TwoGenericInterface<T, U> {
T foo;
U bar;
}
@Value
public static class GenericObject<T> {
T foo;
}
@Value
public static class GenericArrayObject<T> {
GenericObject<T>[] foo;
}
@Value
public static class TwoGenericObject<T, U> {
T foo;
U bar;
}
@Value
public static class ThreeGenericObject<T, U, V> {
T foo;
U bar;
V baz;
}
public interface Interface {
String foo();
Integer bar();
}
public interface InheritedInterface extends Interface {
String foo();
}
public interface InheritedInterfaceWithSameNameMethod extends Interface {
String foo();
}
public interface ContainerInterface {
List<String> baz();
Map<String, Integer> qux();
}
public interface InheritedTwoInterface extends Interface, ContainerInterface {
}
class SelfReference(val foo: String, val bar: SelfReference?)
class Generic<T>(val foo: T)
class GenericImpl(val foo: Generic<String>)
sealed class SealedClass
object ObjectSealedClass : SealedClass()
class SealedClassImpl(val foo: String) : SealedClass()
@JvmInline
value class ValueClass(val foo: String)
instantiate
, instantiateBy
ConstructorPropertiesArbitraryIntrospector
since 1.0.3Closing this issue as it will be actively maintained in the Discussions page:
https://github.com/naver/fixture-monkey/discussions/858 https://github.com/naver/fixture-monkey/discussions/859
Document Version 2 is now live at: https://naver.github.io/fixture-monkey/
The new document aims to be more user-friendly and is written in a more detailed manner compared to the previous version.
This issue lists some improvements that should be made to the document: