public void GetResources_WhenValidInput_ShouldReturnNewResources(string command)
        {
            var resourcesFactory = new ResourcesFactory();

            var result = resourcesFactory.GetResources(command);

            Assert.IsInstanceOf<Resources>(result);
        }
        public void GetResources_WhenInvalidInputIsPassed_ShouldThrowException(string command)
        {
            var resourcesFactory = new ResourcesFactory();

            Assert.That(() => resourcesFactory.GetResources(command), Throws.InvalidOperationException.With.Message.Contains("command"));
        }
        public void GetResources_WhenInputStringIsNotInCorrectFormat_ShouldThrowException(string command)
        {
            var resourcesFactory = new ResourcesFactory();

            Assert.Throws<OverflowException>(() => resourcesFactory.GetResources(command));
        }