This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void shouldConsume() throws Exception { | |
component.doSomething(); | |
verify(component).doSomething(); | |
component.doSomething(); | |
verify(component).doSomething(); | |
} | |
private static <T> T verify(T mock) { | |
return Mockito.verify(mock, resetMode); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.app.AlarmManager; | |
import android.app.PendingIntent; | |
import android.content.Context; | |
import android.os.Build.VERSION; | |
public class AlarmManagerCompat { | |
private final AlarmManager mAlarmManager; | |
public AlarmManagerCompat(Context context) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SHGYHYGF]]]]]]]]]]]]]]]]]]]]==========[;' |