### Question:
AwardsPostedNotification extends BaseNotification<AwardsPostedNotificationViewModel> { @Override public Notification buildNotification(Context context, FollowsChecker followsChecker) { String eventShortName = EventHelper.shortName(eventName); String contentText = context.getString(R.string.notification_awards_updated, eventShortName); Intent instance = getIntent(context); stored = new StoredNotification(); stored.setType(getNotificationType()); String eventCode = EventHelper.getEventCode(eventKey); String title = context.getString(R.string.notification_awards_updated_title, eventCode); stored.setTitle(title); stored.setBody(contentText); stored.setMessageData(messageData); stored.setIntent(MyTBAHelper.serializeIntent(instance)); stored.setTime(Calendar.getInstance().getTime()); stored.setSystemId(getNotificationId()); NotificationCompat.Builder builder = getBaseBuilder(context, instance) .setContentTitle(title) .setContentText(contentText); NotificationCompat.BigTextStyle style = new NotificationCompat.BigTextStyle().bigText(contentText); builder.setStyle(style); return builder.build(); } AwardsPostedNotification(String messageData, AwardListWriter writer); String getEventName(); String getEventKey(); List<Award> getAwards(); @Override void parseMessageData(); @Override Notification buildNotification(Context context, FollowsChecker followsChecker); @Override void updateDataLocally(); @Override Intent getIntent(Context context); @Override int getNotificationId(); @Override View getView(Context c, LayoutInflater inflater, View convertView); @Nullable @Override AwardsPostedNotificationViewModel renderToViewModel(Context context, @Nullable Void aVoid);  }### Answer:
@Test public void testBuildNotification() { mNotification.parseMessageData(); Notification notification = mNotification.buildNotification(mContext, null); assertNotNull(notification); StoredNotification stored = mNotification.getStoredNotification(); assertEquals(stored.getType(), NotificationTypes.AWARDS); assertEquals(stored.getTitle(), mContext.getString(R.string.notification_awards_updated_title, "NECMP")); assertEquals(stored.getBody(), mContext.getString(R.string.notification_awards_updated, "New England")); assertEquals(stored.getMessageData(), mData.toString()); assertEquals(stored.getIntent(), MyTBAHelper.serializeIntent(mNotification.getIntent(mContext))); assertNotNull(stored.getTime()); }