You should add a unit test to validate that the testCaseId defaults to 0 if testCaseId is not set.