Consider organizing test like 
assertIdEquals(1, "id", new Object(){
 int id;
});

Will it make it clear?