/// <summary> /// <para>Used when you create a method to perform an inner set of behaviours</para> /// <para>Example</para> /// <para> behaviour.Perform()</para> /// <para> .Given(...</para> /// </summary> /// <returns></returns> public IBase Perform() { string methodName = new StackTrace().GetFrame(1).GetMethod().Name.ExpandToReadable(); methodName = methodName.DecapitaliseInitial(); _loggers.WriteLine(methodName); return this; }