fixing pitest failure by excluding purely generated code etc.
also removed unused methods and added a unit test to improve coverage and setting thresholds now to 90% each
This commit is contained in:
		@@ -195,16 +195,6 @@ public class Customer implements Serializable {
 | 
			
		||||
        return this;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public Customer removeMembership(Membership membership) {
 | 
			
		||||
        this.memberships.remove(membership);
 | 
			
		||||
        membership.setCustomer(null);
 | 
			
		||||
        return this;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public void setMemberships(Set<Membership> memberships) {
 | 
			
		||||
        this.memberships = memberships;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public Set<SepaMandate> getSepamandates() {
 | 
			
		||||
        return sepamandates;
 | 
			
		||||
    }
 | 
			
		||||
@@ -220,15 +210,6 @@ public class Customer implements Serializable {
 | 
			
		||||
        return this;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public Customer removeSepamandate(SepaMandate sepaMandate) {
 | 
			
		||||
        this.sepamandates.remove(sepaMandate);
 | 
			
		||||
        sepaMandate.setCustomer(null);
 | 
			
		||||
        return this;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public void setSepamandates(Set<SepaMandate> sepaMandates) {
 | 
			
		||||
        this.sepamandates = sepaMandates;
 | 
			
		||||
    }
 | 
			
		||||
    // jhipster-needle-entity-add-getters-setters - JHipster will add getters and setters here, do not remove
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
 
 | 
			
		||||
@@ -129,16 +129,6 @@ public class Membership implements Serializable {
 | 
			
		||||
        return this;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public Membership removeShare(Share share) {
 | 
			
		||||
        this.shares.remove(share);
 | 
			
		||||
        share.setMembership(null);
 | 
			
		||||
        return this;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public void setShares(Set<Share> shares) {
 | 
			
		||||
        this.shares = shares;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public Set<Asset> getAssets() {
 | 
			
		||||
        return assets;
 | 
			
		||||
    }
 | 
			
		||||
@@ -154,16 +144,6 @@ public class Membership implements Serializable {
 | 
			
		||||
        return this;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public Membership removeAsset(Asset asset) {
 | 
			
		||||
        this.assets.remove(asset);
 | 
			
		||||
        asset.setMembership(null);
 | 
			
		||||
        return this;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public void setAssets(Set<Asset> assets) {
 | 
			
		||||
        this.assets = assets;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public Customer getCustomer() {
 | 
			
		||||
        return customer;
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user