public void CreateFile_UnAuth_Throws() { Assert.Throws <FileAlreadyExists>(() => _files.Create(unauthorizedFile)); Assert.Throws <NotAFile>(() => _files.Create(unauthorizedDirectory)); }