getBeforeHookDefinitions() {
    return this.supportCodeLibrary.beforeTestCaseHookDefinitions.filter(
      hookDefinition => {
        return hookDefinition.appliesToTestCase(this.testCase)
      }