public class Sterno
{
public void EngageInTopic(string topic)
{
var fucksToGive = CalculateFucksToGive(topic);
if( fucksToGive == 0 )
throw new HasZeroFucksToGiveException("I'm all out of fucks to give");
RantAboutTopic(topic);
}
public int CalculateFucksToGive(string topic)
{
if( topic == "drama" )
return int.MaxValue;
if( topic == "Friday" )
return 100000;
if (topic == "BloodBorne")
return 5;
if( topic == "trivia contest game identification question" )
return 0;