def test_homebrew(self): #setup factory = InstallerFactory() factory.with_command('brew') #when result = factory.find() #then assert type(result) is HomebrewRunner
def test_choco(self): #setup factory = InstallerFactory() factory.with_command('choco') #when result = factory.find() #then assert type(result) is ChocoRunner