@@ -0,0 +1,1021 @@
+package com.daksh.tmdbsample.data.model;%0A%0Aimport org.junit.Test;%0A%0Aimport static junit.framework.Assert.assertEquals;%0Aimport static org.junit.Assert.assertNotEquals;%0A%0A/**%0A * Created by daksh on 12-Sep-16.%0A */%0Apublic class MovieTest %7B%0A%0A    @Test%0A    public void testGetFormattedUserRating() throws Exception %7B%0A        assertEquals(%2210%22.concat(Movie.USER_RATING_APPEND),%0A                Movie.getFormattedUserRating(9.999999));%0A%0A        assertNotEquals(%221%22.concat(Movie.USER_RATING_APPEND),%0A                Movie.getFormattedUserRating(0.99));%0A%0A        assertEquals(%221%22.concat(Movie.USER_RATING_APPEND),%0A                Movie.getFormattedUserRating(0.999));%0A%0A        assertEquals(%229.45%22.concat(Movie.USER_RATING_APPEND),%0A                Movie.getFormattedUserRating(9.450001));%0A%0A        assertEquals(%220%22.concat(Movie.USER_RATING_APPEND),%0A                Movie.getFormattedUserRating(0.0000000001));%0A%0A        assertEquals(%228.46%22.concat(Movie.USER_RATING_APPEND),%0A                Movie.getFormattedUserRating(8.455));%0A    %7D%0A%7D%0A

Add Unit Test for Movie.getFormattedUserRating() function