You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
void onManipulated(BuilderManipulator manipulator)
ArbitraryBuilder에 연산을 적용하면 onManipulated 메소드가 실행됩니다.
ArbitraryBuilder 생성시 onManipulated를 manual로 입력할 수 있습니다.
e.g. fixture.giveMeBuilder(Class<?> clazz, Consumer<BuilderManipulator> onManipulated)
onManipulated는 생성할 때만 입력받고, 변경이 불가능해야 예측 가능할 것 같습니다.
사용 예제
특정 필드에 연산을 적용할 경우 후속 처리를 추가할 때 사용할 수 있습니다.
e.g. DeliveryMethodType이 Delivery일 때 필드 설정 등..
e.g. 결제 수단에 따라 달라지는 필드 값들 설정 #31 의 대안이 될 수 있지 않을까 싶습니다.
The text was updated successfully, but these errors were encountered:
void onManipulated(BuilderManipulator manipulator)
ArbitraryBuilder에 연산을 적용하면
onManipulated
메소드가 실행됩니다.ArbitraryBuilder 생성시 onManipulated를 manual로 입력할 수 있습니다.
e.g.
fixture.giveMeBuilder(Class<?> clazz, Consumer<BuilderManipulator> onManipulated)
onManipulated는 생성할 때만 입력받고, 변경이 불가능해야 예측 가능할 것 같습니다.
사용 예제
특정 필드에 연산을 적용할 경우 후속 처리를 추가할 때 사용할 수 있습니다.
e.g. DeliveryMethodType이 Delivery일 때 필드 설정 등..
e.g. 결제 수단에 따라 달라지는 필드 값들 설정
#31 의 대안이 될 수 있지 않을까 싶습니다.
The text was updated successfully, but these errors were encountered: