Ejemplo n.º 1
0
        public void get_discovered_data_assets_should_return_data_assets()
        {
            _consumerService.GetDiscoveredDataAssets().Returns(new List <DataAsset> {
                GetDataAsset()
            });
            var result = _rpc.ndm_getDiscoveredDataAssets();

            _consumerService.Received().GetDiscoveredDataAssets();
            result.Data.Should().ContainSingle();
            VerifyDataAsset(result.Data.Single());
        }