1/*
2 * Copyright (c) 2007 Mockito contributors
3 * This program is made available under the terms of the MIT License.
4 */
5package org.mockito.internal.verification.api;
6
7import java.util.List;
8
9import org.mockito.internal.invocation.InvocationMatcher;
10import org.mockito.invocation.Invocation;
11
12public class VerificationDataInOrderImpl implements VerificationDataInOrder {
13
14    private final InOrderContext inOrder;
15    private final List<Invocation> allInvocations;
16    private final InvocationMatcher wanted;
17
18    public VerificationDataInOrderImpl(InOrderContext inOrder, List<Invocation> allInvocations, InvocationMatcher wanted) {
19        this.inOrder = inOrder;
20        this.allInvocations = allInvocations;
21        this.wanted = wanted;
22    }
23
24    public List<Invocation> getAllInvocations() {
25        return allInvocations;
26    }
27
28    public InOrderContext getOrderingContext() {
29        return inOrder;
30    }
31
32    public InvocationMatcher getWanted() {
33        return wanted;
34    }
35}