assertTrue(pushConnection instanceof BasePackPushConnection);
@SuppressWarnings("resource")
BasePackPushConnection basePackPushConnection = (BasePackPushConnection) pushConnection;
- assertEquals(true, basePackPushConnection.isUseBitmaps());
+ assertTrue(basePackPushConnection.isUseBitmaps());
}
}
// true
assertTrue(pushConnection instanceof BasePackPushConnection);
@SuppressWarnings("resource")
BasePackPushConnection basePackPushConnection = (BasePackPushConnection) pushConnection;
- assertEquals(true, basePackPushConnection.isUseBitmaps());
+ assertTrue(basePackPushConnection.isUseBitmaps());
}
}
// false
assertTrue(pushConnection instanceof BasePackPushConnection);
@SuppressWarnings("resource")
BasePackPushConnection basePackPushConnection = (BasePackPushConnection) pushConnection;
- assertEquals(false, basePackPushConnection.isUseBitmaps());
+ assertFalse(basePackPushConnection.isUseBitmaps());
}
}
}