This assert is redundant as you already checked that the map's size is 1 and it contains "flowApp1".
This validation ca be extracted in to a separated method that the filter and expected names