def METHOD_NAME(self):
    # Given
    feature_segment = FeatureSegment.objects.create(
        feature=self.remote_config,
        segment=self.segment,
        environment=self.environment,
        priority=1,
    )
    new_env = Environment.objects.create(
        name="Test environment New", project=self.project
    )
    # When
    feature_segment_clone = feature_segment.clone(new_env)
    # Then
    assert feature_segment_clone.id != feature_segment.id
    assert feature_segment_clone.priority == feature_segment.priority
    assert feature_segment_clone.environment.id == new_env.id