learn how fetch error using php unit