package mll.service;
import static org.junit.Assert.assertEquals;


import org.json.simple.JSONObject;
import org.junit.Test;

public class ProfileServiceTest {

	@Test
	public void testuploadBandDeatilnull() throws Exception
	{
		ProfileService service = new ProfileService();
		assertEquals(true, service.uploadBandDetails(null, null) == null);
	}
	
	@Test
	public void populateSongWritersnull() throws Exception
	{
		ProfileService service = new ProfileService();
		assertEquals(true, service.populateSongWriters(null, null) == null);
	}
	
	@Test
	public void populateSongWriterssuccess() throws Exception
	{
		ProfileService service = new ProfileService();
		JSONObject json = new JSONObject();
		assertEquals(true, service.populateSongWriters(json, null) == null);
	}
	
}

@@ -159,195 +159,8 @@
  %7B%0A%0A
-%09@Test%0A%09public void testuploadBandDeatilnull() throws Exception%0A%09%7B%0A%09%09ProfileService service = new ProfileService();%0A%09%09assertEquals(true, service.uploadBandDetails(null, null) == null);%0A%09%7D
 %0A%09%0A%09
@@ -561,30 +561,46 @@
 (json, null)
- == null
+.toString().equals(%22%7B%7D%22)
 );%0A%09%7D%0A%09%0A%7D%0A

test fix