コード例 #1
0
        public void ReaderShouldThrowExceptionWhenFileDoesNotExit()
        {
            var configReader = new ConfigReaderUtil.ConfigReader(_fileAdapter);

            _fileAdapter.Stub <IFileAdapter>(f => f.Exists("config.json")).Return(false);

            configReader.Read("config.json", "environment");
        }