blob: 55fef7adbf01e4ba022ec2c4cff388a4e906b74d [file] [log] [blame]
package org.mockitousage.testng;
import org.testng.annotations.Test;
import static org.mockito.Mockito.verifyNoInteractions;
import static org.mockito.Mockito.verifyZeroInteractions;
public class ResetMocksInParentTestClassTooTest extends ParentTest {
@Test
public void interact_with_parent_mock() throws Exception {
parentMockField.get("a");
}
@Test
public void verify__zero_interaction_with_parent_mock() throws Exception {
verifyZeroInteractions(parentMockField);
}
@Test
public void verify__no_interaction_with_parent_mock() throws Exception {
verifyNoInteractions(parentMockField);
}
}