private void SetupFeatureBackground(TestClassGenerationContext generationContext) { if (!HasFeatureBackground(generationContext.Feature)) { return; } var background = generationContext.Feature.Background; CodeMemberMethod backgroundMethod = generationContext.FeatureBackgroundMethod; backgroundMethod.Attributes = MemberAttributes.Public; backgroundMethod.Name = BACKGROUND_NAME; testGeneratorProvider.SetTestBackgroundMethod(generationContext, backgroundMethod, background.Steps); }