@Test void createUser_nullCommand() { Assertions.assertFalse(UserAggregate.of(UUID.randomUUID().toString()).validate(null).isFailure()); }
public static UserAggregate of(UserDto userDto) { return new UserAggregate(userDto); }
UserAggregate extends AbstractRootAggregate<UserDto> { public static UserAggregate of(UserDto userDto) { return new UserAggregate(userDto); } }
UserAggregate extends AbstractRootAggregate<UserDto> { public static UserAggregate of(UserDto userDto) { return new UserAggregate(userDto); } private  UserAggregate(String id); private  UserAggregate(UserDto userDto); }
UserAggregate extends AbstractRootAggregate<UserDto> { public static UserAggregate of(UserDto userDto) { return new UserAggregate(userDto); } private  UserAggregate(String id); private  UserAggregate(UserDto userDto); @Override Aggregate<UserDto> apply(DomainEvent event); @Override UserDto state(); static UserAggregate of(UserDto userDto); static UserAggregate of(String id); }
UserAggregate extends AbstractRootAggregate<UserDto> { public static UserAggregate of(UserDto userDto) { return new UserAggregate(userDto); } private  UserAggregate(String id); private  UserAggregate(UserDto userDto); @Override Aggregate<UserDto> apply(DomainEvent event); @Override UserDto state(); static UserAggregate of(UserDto userDto); static UserAggregate of(String id);  }