	@Test
	public void testLoadProject() throws Exception {

		Robolectric.application.onCreate();

		SettingActivity activity = new SettingActivity();

		assertThat(activity, is(notNullValue()));

		((RoboApplication)Robolectric.application).getInjector().injectMembers(activity);

		assertThat(activity.priorityDao , is(notNullValue()));

		BacklogService backlogService = createMockBacklogService();
		
		activity.backlogService = backlogService;
		
		activity.loadProject();
		
		assertThat(activity.statusDao.queryForId(-1) , is(notNullValue()));
		assertThat(activity.priorityDao.queryForId(-2) , is(notNullValue()));
		assertThat(activity.resolutionDao.queryForId(-3) , is(notNullValue()));
		assertThat(activity.projectDao.queryForId(-4) , is(notNullValue()));
		assertThat(activity.issueTypeDao.queryForId(-5) , is(notNullValue()));
		assertThat(activity.componentDao.queryForId(-6) , is(notNullValue()));
		assertThat(activity.versionDao.queryForId(-7) , is(notNullValue()));
		assertThat(activity.userDao.queryForId(-8) , is(notNullValue()));
		assertThat(activity.projectUserRelationDao.queryBuilder().where().eq("user_id" , -8).and().eq("project_id" , -4).query().size() , is(1));
		List<ProjectUserRelation> relationList = activity.projectUserRelationDao.queryBuilder().where().eq("user_id" , -8).and().eq("project_id" , -4).query();
	}