// Path: nakadi-producer/src/main/java/org/zalando/nakadiproducer/snapshots/Snapshot.java
// @AllArgsConstructor
// @Getter
// public class Snapshot {
//     private Object id;
//     private String dataType;
//     private Object data;
// }


import java.util.ArrayList;
import java.util.List;
import org.zalando.nakadiproducer.snapshots.Snapshot;
package org.zalando.nakadiproducer.util;



public class Fixture {

    public static final String PUBLISHER_EVENT_TYPE = "wholesale.some-publisher-change-event";
    public static final String PUBLISHER_DATA_TYPE = "nakadi:some-publisher";

    public static MockPayload mockPayload(Integer id, String code, Boolean isActive,
                                          MockPayload.SubClass more, List<MockPayload.SubListItem> items) {
        return MockPayload.builder()
                .id(id)
                .code(code)
                .isActive(isActive)
                .more(more)
                .items(items)
                .build();
    }

    public static MockPayload mockPayload(Integer id, String code) {
        return mockPayload(id, code, true, mockSubClass(), mockSubList(3));
    }

// Path: nakadi-producer/src/main/java/org/zalando/nakadiproducer/snapshots/Snapshot.java
// @AllArgsConstructor
// @Getter
// public class Snapshot {
//     private Object id;
//     private String dataType;
//     private Object data;
// }


// Path: nakadi-producer/src/test/java/org/zalando/nakadiproducer/util/Fixture.java
import java.util.ArrayList;
import java.util.List;
import org.zalando.nakadiproducer.snapshots.Snapshot;

package org.zalando.nakadiproducer.util;



public class Fixture {

    public static final String PUBLISHER_EVENT_TYPE = "wholesale.some-publisher-change-event";
    public static final String PUBLISHER_DATA_TYPE = "nakadi:some-publisher";

    public static MockPayload mockPayload(Integer id, String code, Boolean isActive,
                                          MockPayload.SubClass more, List<MockPayload.SubListItem> items) {
        return MockPayload.builder()
                .id(id)
                .code(code)
                .isActive(isActive)
                .more(more)
                .items(items)
                .build();
    }

    public static MockPayload mockPayload(Integer id, String code) {
        return mockPayload(id, code, true, mockSubClass(), mockSubList(3));
    }

    public static List<Snapshot> mockSnapshotList(Integer size) {