JUnit Test + Eclipse : I am not familiar with Junit testing at all. How would I go about creating a junit test for this code? I am using Eclipse and have already set up the test file. 

     @WebServlet("/version")
     public class TypeCheck extends HttpServlet {
	/**
	 * 
	 */
	private static final long serialVersionUID = 987654321;

	  @Override
	  protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		    BufferedReader read = null;
		
		    InputStream is = this.getClass().getClassLoader().getResourceAsStream("/version.txt");
		
		    try {
			   read = new BufferedReader(new InputStreamReader(is));
			
			   response.getWriter().write(read.readLine());
		    } catch (IOException e) {
			   e.printStackTrace();
		    } finally {
			   if (read != null) { try { read.close(); } catch (IOException e) { e.printStackTrace(); } }
		    }
        }
    }
