import { NavigationState , NodePermissions , ProfileState , RuleContext , RuleEvaluator , SelectionState } from '@alfresco/adf-extensions' ; import { RepositoryInfo } from '@alfresco/js-api' ; export class TestRuleContext implements RuleContext { auth : any ; navigation : NavigationState = { } ; permissions : NodePermissions ; profile : ProfileState ; repository : RepositoryInfo ; selection : SelectionState = { count : 0 , nodes : [ ] , libraries : [ ] , isEmpty : true } ; getEvaluator ( _key ) { return undefined ; } }