public void InitializeTest() { MenuActionService menuActionService = new MenuActionService(); menuActionService.Should().NotBeNull(); menuActionService.GetMenuActionByMenuName("Main").Count.Should().Be(4); menuActionService.GetMenuActionByMenuName("BookShow").Count.Should().Be(5); menuActionService.GetMenuActionByMenuName("BookEdit").Count.Should().Be(2); }