@Test
public void testGetMBMessageCategoryIdReturnsMessageCategoryId() {

	long categoryId = RandomTestUtil.randomInt();
	MBMessage message = Mockito.mock(MBMessage.class);
	Mockito.when(
		message.getCategoryId()
	).thenReturn(
		categoryId
	);
	Assert.assertEquals(
		categoryId,
		MBUtil.getCategoryId(
			Mockito.mock(HttpServletRequest.class), message));
}