This TC(FileSystemManager_resolve_mode_TypeMismatch) mainly test that resolve() method throws exception for wrong value of mode argument, rather than test the defaults value of this parameter (mode parameter) is rw if absent or null, so should remove the value 'null' of mode. If you want to test its default value, that is to add a new TC.