Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void shouldStoreLastSentTextMessageParameters() {
- smsManager.sendTextMessage(testDestinationAddress, testScAddress, testText, null, null);
- ShadowSmsManager.TextSmsParams lastParams = shadowSmsManager.getLastSentTextMessageParams();
- Assert.assertEquals(testDestinationAddress, lastParams.getDestinationAddress());
- Assert.assertEquals(testScAddress, lastParams.getScAddress());
- Assert.assertEquals(testText, lastParams.getText());
- }
Add Comment
Please, Sign In to add comment