package org.motechproject.nms.api.web.contract.mobileAcademy;

/**
 * API response object for getting course version
 */
public class CourseVersionResponse {

    private int courseVersion;

    public CourseVersionResponse() {
    }

    public CourseVersionResponse(int courseVersion) {

        this.courseVersion = courseVersion;
    }

    public Integer getCourseVersion() {
        return courseVersion;
    }

    public void setCourseVersion(Integer courseVersion) {
        this.courseVersion = courseVersion;
    }
}

@@ -164,19 +164,20 @@
 private 
-int
+long
  courseV
@@ -266,11 +266,12 @@
 nse(
-int
+long
  cou
@@ -347,23 +347,20 @@
  public 
-Integer
+Long
  getCour
@@ -447,15 +447,12 @@
 ion(
-Integer
+Long
  cou

Fix a bug in MA tests. Casting version.getMillis to an int resulted in the integer rolling over and returning a negative number